@extends('layouts.site')
@section('content')
    <article id="main">
        <header class="special container">
            <span class="icon fa-trophy"></span>
            <h2><strong>课外活动借鉴</strong></h2>
            {{--<p>——那些被申请者忽视的强劲学院😢</p>--}}
        </header>
        <!-- One -->
        <section class="wrapper style3 container special">
        @foreach($activities as $row)
            <div class="row">
                @foreach ($row as $a)
                    <div class="6u 12u(narrower)">
                        <section>
                            <a href="/activity/{{$a->id}}" class="image featured">
                                <img src="{{$storage}}{{$a->image}}" alt="{{$a->name}}">
                            </a>
                            <header><h3>{{$a->name}}</h3></header>
                        </section>
                    </div>
            @endforeach
            </div>
        @endforeach
        </section>
    </article>
@endsection
